<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./lib/jquery-3.5.1.min.js"></script>
    <script src="./lib/axios.min.js"></script>
    <!-- 不需要.map文件 -->
    <!-- <script src="lib/axios.min.js" data-no-maps></script> -->
    <!-- <script type="module" src="./src/utils/request.js"></script> -->
    <script type="module" src="./src/api/Test.js"></script>
</head>
<body>
    <button id="btn1">test1</button>
    <script type="module">
        import { test } from './src/api/Test.js';
        var num1 = 1
        var num2 = 2

        $('#btn1').click(function() {
            test(num1,num2)
            .then(function(data) {
                console.log(data);
            })
    }) 
    </script>
</body>
</html>